#pragma once
#include <QtGui>

namespace Xps
{
	class AssetAdder : public QDialog
	{
	private:
		QPushButton* okay;
		QPushButton* cancel;
		
		QWidget* setupHeader(QString, QString head_rsc);
		QWidget* setupButtonPanel();

	public:
		AssetAdder(QWidget* parent = 0, QString title = "", QString rsc = "");
		~AssetAdder(void);
		virtual void accept();

	protected:
		QWidget* content;
		QWidget* head;
		virtual QWidget* setupContent();
	};
}